package com.offcn.sellergoods.gruop;

import com.offcn.sellergoods.pojo.Specification;
import com.offcn.sellergoods.pojo.SpecificationOption;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 复合实体类
 *
 * @author 30389
 */
@Data
@ApiModel(description = "规格复合实体类(specification + specificationOptionList)", value = "SpecGroup")
public class SpecGroup implements Serializable {

    /**
     * 规格表
     */
    @ApiModelProperty(value = "规格对象 ", required = false)
    private Specification specification;

    /**
     * 选项表
     */
    @ApiModelProperty(value = "规格选项对象", required = false)
    private List<SpecificationOption> specificationOptionList;
}
